package org.mms.service;

import org.mms.pojo.entity.Material;
import org.mms.pojo.request.MaterialRequest;

import java.util.List;

public interface MaterialService {
    List<Material> list();
    Material getById(Long id);
    Material create(MaterialRequest request);
    Material update(MaterialRequest request);
    void delete(Long id);
}